<style>
    .basicinfo {
        margin: 15px 0;
    }

    .basicinfo .row > .col-xs-4 {
        padding-right: 0;
    }

    .basicinfo .row > div {
        margin: 5px 0;
    }
    .courseInfo{
        margin-top: 0px;
        margin-bottom: 5px;
    }
</style>
<div id="content-container" class="container">
    <div class="col-md-3">
        {include file="common/sidenav" /}
    </div>
    <div class="col-md-9">
        <div class="panel panel-default">
            <div class="panel-body">
                <h2 class="page-header">{:__('课程中心')}</h2>
                <div class="row user-baseinfo">
                    <div class="col-md-12 col-sm-12 col-xs-12">
                        <div class="row  courseCon">
                            <div class="row courseInfo" style="border: 0px;">
                                <div class="rightCon row"  style="float: left;width: 100%;margin-left: 0px;">
                                    <ul class="courseCard row" style="border: 0px;margin-right: 0px;">
                                        {volist name="order" id="vo"}
                                        <li class="row item" style="width: 40%;margin-left: 5%;margin-right: 5%">
                                            <div class="row text">
                                                <img src="{:cdnurl($vo.course.image)}">
                                                <h4>{$vo.course.title}</h4>
                                                <p>下单时间:{:date("Y-m-d h:i:s",$vo.createtime)}</p>
                                                <p>支付金额:{$vo.price}</p>
                                                <p style="float: right">
                                                    <a class="btn btn-warning" href="{:url('user/study',['cid'=>$vo['course_id']])}">去学习</a>
                                                </p>
                                            </div>
                                        </li>
                                        {/volist}
                                    </ul>
                                </div>
                                <div style="text-align: center">
                                    {$order->render()}
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
